<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
	<title>用户管理</title>
	<meta charset="utf8">
</head>
<body>
<table border width="80%">
	<tr>
	<td>头像</td>
	<td>用户名</td>	
	<td>真实姓名</td>
	<td>邮箱</td>
	<td>电话</td>
	<td>状态</td>
	<td>审核信息</td>
	<td>明星作者</td>
	<td>首页推荐</td>
	<td>操作</td>
	</tr>
	//接收$users变量

	<?php if(is_array($users)): $i = 0; $__LIST__ = $users;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
	<td><img src="/Appstore/Public/uploads/photo/<?php echo ($vo["photo"]); ?>"  width="50px"  height="80px"></td>
<!-- 	/Appstore/Public表示public目录 -->	
	<td><?php echo ($vo["username"]); ?></td>
	<td><?php echo ($vo["realname"]); ?></td>
	<td><?php echo ($vo["email"]); ?></td>
	<td><?php echo ($vo["tele"]); ?></td>
	
	<td>
	
			<?php if($vo["state"] == 0): ?>禁用
			<elsif condition="$vo.state eq 1" />普通
			<?php else: ?>禁言<?php endif; ?>
	
	</td>
	
	
	<td><?php echo ($vo["verifyinfo"]); ?></td>
	<td>	
	
	<?php if($vo["isstar"] == 0): ?>否
			<?php else: ?> 是<?php endif; ?>
		

	</td>
	
	<td>	
	<?php if($vo["isfirst"] == 0): ?>否
	<?php else: ?>是<?php endif; ?>

	
	</td>
	<td>修改<br>删除<br>取消明星作者<br>设置首页推荐<br>禁用</td>
	</tr><?php endforeach; endif; else: echo "" ;endif; ?>
</table>

<?php echo ($page); ?>

</body>
<html>